package com.example.tsproject.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.tsproject.entity.Answers;
import com.example.tsproject.mapper.TeachersMapper;
import com.example.tsproject.service.AnswersService;
import com.example.tsproject.mapper.AnswersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86183
* @description 针对表【answers】的数据库操作Service实现
* @createDate 2025-03-11 20:25:22
*/
@Service
public class AnswersServiceImpl extends ServiceImpl<AnswersMapper, Answers>
    implements AnswersService{

    @Autowired
    private AnswersMapper AnswersMapper;
    @Override
    public List<Answers> getAnswersListWithStudentNameByClass(String tNumber, String classNumber, String name) {
        return AnswersMapper.getAnswersListWithStudentNameByClass(tNumber,classNumber,name);

    }
}




